package com.liveinstars.quhui.business.interest.service;


import com.liveinstars.api.dto.InterestDetailDto;
import com.liveinstars.api.dto.InterestDto;
import com.liveinstars.api.dto.InterestSimpleDto;
import com.liveinstars.api.dto.JoinInterest;
import com.liveinstars.api.query.InterestQuery;
import com.onepiece.shipelves.common.vo.Page;

import java.util.List;

public interface InterestDomainService {
    List<InterestSimpleDto> getAllInterest();

    Page<InterestDto> pageByQuery(InterestQuery query);

    List<InterestDto> getMyInterests(Integer userId);

    List<InterestSimpleDto> getMyInterestsSimple(Integer userId);

    InterestDetailDto getDetailById(Integer id);

    Boolean joinInterest(JoinInterest interest, Integer userId);

//    Page<ActivityDO> pageByQuery(ActivityNewQuery query);
//
//    ActivityDO getDetailById(Integer id);
//
//    ActivityDO updateById(ActivityDO vo);

}
